package id.co.smltech.servo.project.rest;
import java.util.HashSet;
import java.util.Set;

import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;

import org.glassfish.jersey.media.multipart.MultiPartFeature;
import org.glassfish.jersey.server.filter.RolesAllowedDynamicFeature;


@ApplicationPath("Services")
public class ApplicationPaths extends Application {
	

	@Override
	public Set<Class<?>> getClasses() {
	    Set<Class<?>> resources = new HashSet<Class<?>>();
	    
	    //Add your resources
	    resources.add(ActivityTrackingRest.class);
		    	    
	    resources.add(MultiPartFeature.class);	//enable upload file feature
	    resources.add(RolesAllowedDynamicFeature.class);	//enable rest security feature
	    
	    return resources;
	}

}

